import { HTTP } from '../utils/http-p.js'

class InviteModel extends HTTP{

    addWorksInviteInfo(params){
        return this.request({
            url: '/v/invite/addWorksInviteInfo',
            method: 'POST',
            data:{
                businessId:params.businessId,
                toUserId:params.toUserId,
                phone:params.phone,
                weChat:params.weChat,
                weibo:params.weibo,
                reason:params.reason,
            }
        })
    }

    addShootInviteInfo(params){
        return this.request({
            url: '/v/invite/addShootInviteInfo',
            method: 'POST',
            data:{
                businessId:params.businessId,
                toUserId:params.toUserId,
                phone:params.phone,
                weChat:params.weChat,
                weibo:params.weibo,
                reason:params.reason,
            }
        })
    }

}

export { InviteModel }
